.detail-container {
    padding: 30rpx;
    background-color: white;
    border-radius: 20rpx;
    box-shadow: 0 8rpx 16rpx rgba(0, 0, 0, 0.1);
    margin: 40rpx;
}

.product-image {
    width: 100%;
    height: 620rpx;
    border-radius: 15rpx;
    margin-bottom: 130rpx;
    box-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.05);
}

.product-info {
    margin-bottom: 30rpx;
}

.product-name {
    font-size: 36rpx;
    font-weight: 700;
    margin-bottom: 8rpx;
    color: #333333;
}

.product-desc {
    font-size: 28rpx;
    color: #666666;
    margin-bottom: 8rpx;
    margin-left: 25rpx;
}

.product-price {
    font-size: 35rpx;
    color: #FF6B8B;
    font-weight: 700;
    margin-left: 30rpx;
}

.action-buttons {
    display: flex;
    justify-content: space-around;
}

.add-to-cart-btn {
    background-color: #FFC4DA;
    width: 200rpx !important;
    color: white;
    line-height: 50rpx;
    border-radius: 12rpx;
    font-size: 30rpx;
    transition: background-color 0.3s ease;
}

.add-to-cart-btn:hover {

    background-color: #FFAECF;
}

.buy-now-btn {
    background-color: #FF6B8B;
    width: 300rpx !important;
    color: white;
    padding: 20rpx 40rpx;
    border-radius: 12rpx;
    font-size: 30rpx;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.buy-now-btn:hover {
    background-color: #FF87A1;
    transform: translateY(-4rpx);
}


.spec-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20rpx;
    padding: 0 10rpx;
    font-size: 26rpx;
    color: #333333; /* 按照图片样式调整颜色 */
}

.spec-count {
    color: #585555; /* 按照图片样式调整颜色 */
}

.evaluation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20rpx;
    padding: 0 10rpx;
    font-size: 26rpx;
    color: #524f4f; /* 按照图片样式调整颜色 */
}

.evaluation a {
    color: #999999;
    text-decoration: none;
}
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  
  .popup-content {
    background-color: white;
    width: 80%;
    height: 500rpx;
    border-radius: 15rpx;
    padding: 20rpx;
  }
  
  .popup-header {
    text-align: center;
    margin-bottom: 20rpx;
  }
  
  .popup-title {
    font-size: 32rpx;
    font-weight: 700;
    color: #333333;
  }
  
  .popup-body {
    margin-bottom: 20rpx;
  }
  
  .spec-group {
    margin-bottom: 20rpx;
  }
  
  .spec-label {
    font-size: 28rpx;
    color: #666666;
    margin-bottom: 10rpx;
  }
  
  .spec-options {
    margin: 20rpx 0;
    display: flex;
    flex-wrap: wrap;
  }
  
  .spec-option {
    margin-right: 10rpx;
    margin-bottom: 10rpx;
    padding: 10rpx 15rpx;
    border-radius: 8rpx;
    border: 1rpx solid #ddd;
    margin-left: 30rpx;
    cursor: pointer;
    &:last-of-type{
      margin-left: 60rpx;
    }
  }
  
  .option-content {
    width: 200rpx;
    height: 80rpx;
    display: flex;
    align-items: center;
  }
  
  .option-text {
    font-size: 26rpx;
    color: #333333;
  }
  
  .option-price {
    font-size: 26rpx;
    color: #FF6B8B;
    margin-left: 10rpx;
  }
  
  .popup-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .selected-spec {
    font-size: 26rpx;
    color: #333333;
    margin: 20rpx 0;
  }
  
  .action-buttons {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .add-to-cart-btn {
    background-color: #ffa3c5;
    color: white;
    padding: 15rpx 30rpx;
    border-radius: 10rpx;
    font-size: 28rpx;
    transition: background-color 0.3s ease;
    width: 80%;
    text-align: center;
  }
  .add-to-cart-btn-tocart{
    background-color: #ffa3c5;
    color: white;
    padding: 25rpx 30rpx;
    border-radius: 10rpx;
    font-size: 25rpx;
    transition: background-color 0.3s ease;
    text-align: center;
    margin: 20rpx;
    width: 300rpx !important;
  }
  .add-to-cart-btn:hover {
    background-color: #f089b2;
  }
  .close-btn {
    // position: absolute;
    top: -50rpx;
    right: -300rpx;
    padding: 5rpx 10rpx;
    background-color: transparent;
    border: none;
    font-size: 30rpx;
    color: #666;
    cursor: pointer;
  }
  //数量
  .stepper {
    height: 60rpx;
    margin-left: 50rpx;
    margin-top: 29rpx;
    display: flex;
    align-items: center;
    background-color: #FFECF1;
    border-radius: 30rpx;
    padding: 5rpx;
  }
  .count {
    margin: 0 15rpx;
    font-size: 28rpx;
    color: #5A3D2D;
  }
  .btn {
    width: 50rpx;
    height: 50rpx;
    text-align: center;
    line-height: 50rpx;
    font-size: 32rpx;
    color: #FF6B8B;
  }